um\core\User D

Total Complexity 227
Dependencies 1
Dependents 2
Total lines 2,090
Lines of code 858
Logical lines of code 542
Comment lines 899
Methods 53
Properties 0

Methods 53

Method Rating Maintainability Complexity Lines of code
set()
C
36 24 76
generate_profile_slug()
B
38 18 68
on_update_usermeta()
B
42 18 53
on_delete_usermeta()
B
42 16 54
secondary_role_field()
A
42 14 52
update_profile()
A
47 9 36
set_registration_details()
S
51 7 26
profile_update()
S
55 6 19
user_has_metadata()
S
55 6 18
user_exists_by_name()
S
45 4 47
__construct()
S
41 3 56
delete()
S
57 5 17
profile_form_additional_section()
S
64 6 9
user_register_via_admin()
S
59 5 14
get_cached_data()
S
60 5 14
add_um_role_existing_user()
S
63 5 11
add_um_role_wpmu_new_user()
S
63 5 11
approve()
S
54 4 22
delete_user_handler()
S
57 4 16
clean()
S
65 5 9
toArray()
S
60 4 14
get_profile_slug()
S
61 4 13
get_role()
S
63 4 11
get_pending_users_count()
S
53 3 23
check_membership()
S
61 3 13
get_admin_actions()
S
60 3 12
is_approved()
S
68 3 7
is_private_profile()
S
67 3 7
set_gravatar()
S
63 2 11
user_exists_by_id()
S
68 2 8
user_exists_by_email_as_username()
S
66 2 8
is_private_case()
S
66 2 8
get_profile_link()
S
69 2 7
setup_cache()
S
68 2 7
add_activation_placeholder()
S
77 1 4
update_files()
S
80 1 3
delete_meta()
S
80 1 3
set_last_login()
S
79 1 3
update_usermeta_info()
S
75 1 4
deactivate()
S
72 1 5
reject()
S
76 1 4
pending()
S
76 1 4
email_pending()
S
73 1 5
password_changed()
S
79 1 3
password_reset()
S
67 1 7
assign_secretkey()
S
71 1 6
set_status()
S
68 1 7
auto_login()
S
70 1 6
reset()
S
80 1 3
remove_cache_all_users()
S
76 1 4
remove_cache()
S
80 1 3
remove_cached_queue()
S
82 1 3
add_activation_replace_placeholder()
S
76 1 4